package com.example.jixeishi1.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Orders {
    int id;
    int zid;
    Date createtime;
    String orderno;
    String mainimage;
    String subtitle;
    String detail;
    String receivername;
    String receiverphone;
    String receiverprovince;
    String receivercity;
    String receiverdistrict;
    String receiveraddress;
    double price;
    String status;
    String marketorder;
    int quantity;

    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", zid=" + zid +
                ", createtime=" + createtime +
                ", orderno='" + orderno + '\'' +
                ", mainimage='" + mainimage + '\'' +
                ", subtitle='" + subtitle + '\'' +
                ", detail='" + detail + '\'' +
                ", receivername='" + receivername + '\'' +
                ", receiverphone='" + receiverphone + '\'' +
                ", receiverprovince='" + receiverprovince + '\'' +
                ", receivercity='" + receivercity + '\'' +
                ", receiverdistrict='" + receiverdistrict + '\'' +
                ", receiveraddress='" + receiveraddress + '\'' +
                ", price=" + price +
                ", status='" + status + '\'' +
                ", marketorder='" + marketorder + '\'' +
                ", quantity=" + quantity +
                '}';
    }
}
